package com.example.application1.API;

import com.example.application1.Entity.festivalBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface festivalApi {
//http://api.tianapi.com/txapi/jiejiari/index?key=APIKEY&date=2021-01-01
    @GET("txapi/jiejiari/index")
    Call<festivalBean> getCall(@Query("key") String key , @Query("date") String date);
}
